using Rsd.Dudu;
using Rsd.Dudu.ModelProvider;
using Rsd.Dudu.ORM;
using Rsd.Faith.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Rsd.Faith.Models
{
    /// <summary>
    /// 
    /// </summary>
    [Table("bank_银行开户表", "bank__kai_hu_biao", "id")]
    [Serializable]
    public class BankZhangHuModel : Rsd.Faith.Core.ModelBase
    {

        /// <summary>
        /// 开户行名称
        /// </summary>
        [StringType("yin_hang_ming_cheng", "开户行名称", 20, 100)]
        [DisplayName("开户行名称")]
        public string YinHangMingCheng { get; set; }
          
        /// <summary>
        /// 开户账号
        /// </summary>
        [StringType("kai_hu_zhang_hao", "开户账号", 24, 100)]
        [DisplayName("开户账号")]
        public string KaiHuZhangHao { get; set; }

        /// <summary>
        /// 账户名称
        /// </summary>
        [StringType("zhang_hu_ming_cheng", "账户名称", 26, 100)]
        [DisplayName("账户名称")]
        public string ZhangHuMingCheng { get; set; }

        /// <summary>
        /// 开户行地址
        /// </summary>
        [StringType("yin_hang_di_zhi", "开户行地址", 27, 100)]
        [DisplayName("开户行地址")]
        public string YinHangDiZhi { get; set; }

        /// <summary>
        /// 开户行联系电话
        /// </summary>
        [StringType("yin_hang_dian_hua", "开户行联系电话", 28, 100)]
        [DisplayName("开户行联系电话")]
        public string YinHangDianHua { get; set; }

        /// <summary>
        /// 账户类型
        /// </summary>
        [StringType("zhang_hu_lei_xing", "账户类型", 30, 100,"YB")]
        [DisplayName("账户类型")]
        public BankZhangHuLeiXing ZhangHuLeiXing { get; set; }

        /// <summary>
        /// 账户余额
        /// </summary>
        [NumericType("zhang_hu_yu_e", "账户余额", 32, 20, 2)]
        [DisplayName("账户余额")]
        public decimal ZhangHuYuE { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [StringType("zhuang_tai", "状态", 34, 10, "DJ")]
        [DisplayName("状态")]
        public BankZhangHuZhuangTai ZhuangTai { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public BankZhangHuModel()
        { }

    }
}
